package com.sidianzhong.sdz.mapper;

import com.sidianzhong.sdz.model.MyTeam;
import com.sidianzhong.sdz.model.MyTeamExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MyTeamMapper {
    long countByExample(MyTeamExample example);

    int deleteByExample(MyTeamExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MyTeam record);

    int insertSelective(MyTeam record);

    List<MyTeam> selectByExample(MyTeamExample example);

    MyTeam selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MyTeam record, @Param("example") MyTeamExample example);

    int updateByExample(@Param("record") MyTeam record, @Param("example") MyTeamExample example);

    int updateByPrimaryKeySelective(MyTeam record);

    int updateByPrimaryKey(MyTeam record);

    MyTeam getByUserId(Integer investId,Integer userId);
}